package cn.initcap.designpattern.principle.singleresponsibility;

/**
 * @author initcap
 * @date 2018/8/28 AM9:18
 */
public class Test {

    public static void main(String[] args) {
        FlyBird flyBird = new FlyBird();
        flyBird.mainMoveMode("大雁");

        WalkBird walkBird = new WalkBird();
        walkBird.mainMoveMode("鸵鸟");
    }

}
